//
//  RegisteredTwoViewController.m
//  OCDome
//
//  Created by 李含文 on 2020/10/14.
//  Copyright © 2020 李含文. All rights reserved.
//

#import "RegisteredTwoViewController.h"
#import "RegisteredViewController.h"

@interface RegisteredTwoViewController ()

@end

@implementation RegisteredTwoViewController
- (void)viewWillAppear:(BOOL)animated {
    [super viewWillAppear:animated];
    [self hw_switchNavColor:UIColor.whiteColor];
//    self.navigationController.navigationBar.hidden = YES;
}

- (BOOL)hw_navigationShouldPopOnBackButton {
    
    [self hw_popToViewControllerWithName:@"LoginViewController"];
//    [self.navigationController popToRootViewControllerAnimated:YES];
    
    return NO;
}
- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
}
- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event {
    RegisteredViewController *vc = [RegisteredViewController new];
    [self.navigationController pushViewController:vc animated:YES];
}

@end
